package com.basic.common.constant;

/**
 * 缓存的key 常量
 * 
 * @author zhaoxy_jn@163.com
 */
public class CacheConstants
{
    /**
     * 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";

    /**
     * 登录账户密码错误次数 redis key
     */
    public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";

    /**
     * 店铺信息Redis缓存key
     */
    public static final String STORE_REDIS_KEY = "store_redis:";

    /**
     * 班次信息Redis缓存key
     */
    public static final String SHIFT_REDIS_KEY = "shift_redis";

    /**
     * 印刷品Redis缓存key
     */
    public static final String PRINTS_REDIS_KEY = "prints_redis";

    /**
     * 商品关系Redis缓存key
     */
    public static final String PROD_REL_REDIS_KEY = "prod_rel_redis:";

    /**
     * 路径关系Redis缓存key
     */
    public static final String PATH_REL_REDIS_KEY = "path_rel_redis:";

    /**
     * SMB Redis缓存key
     */
    public static final String SMB_REDIS_KEY = "smb_redis";

    /**
     * 备注关系Redis缓存key
     */
    public static final String MEMO_RELATION_REDIS_KEY = "memo_relation_redis";

    /**
     * 备注类型Redis缓存key
     */
    public static final String MEMO_TYPE_REDIS_KEY = "memo_type_redis";

    /**
     * 钉钉Redis缓存key
     */
    public static final String DING_TALK_REDIS_KEY = "ding_talk_redis";

    /***
     * 用户信息
     */
    public static final String USER_REDIS_KEY = "user_redis";

    /**
     * 账单规则Redis缓存key
     */
    public static final String MONEY_RULES_REDIS_KEY = "money_rules_redis";
}
